﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Loong.Model
{

    /// <summary>
    /// 翻译内容规则
    /// </summary>
    [Serializable]
    public class TranslateContentRuleInfo
    {

        private string name;

        private string expressions;

        private string include;

        private string unInclude;

        /// <summary>
        /// 构造
        /// </summary>
        /// <param name="name">规则名</param>
        /// <param name="expre">排除内容的表达式、规则</param>
        /// <param name="include">包含内容</param>
        /// <param name="unInclude">不能包含的内容</param>
        public TranslateContentRuleInfo(string name, string expre, string include, string unInclude)
        {
            this.name = name;
            this.expressions = expre;
            this.include = include;
            this.unInclude = unInclude;
        }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        /// <summary>
        /// 包含内容
        /// </summary>
        public string Include
        {
            get { return this.include; }
            set { this.include = value; }
        }


        /// <summary>
        /// 不能包含的内容
        /// </summary>
        public string UnInclude
        {
            get { return this.unInclude; }
            set { this.unInclude = value; }
        }


        /// <summary>
        /// 表达式
        /// </summary>
        public string Expressions
        {
            get { return this.expressions; }
            set { this.expressions = value; }
        }
    }
}
